package com.vf.admin.platform.entity;


import com.vf.admin.common.db.annotation.NoColumn;
import com.vf.admin.common.db.annotation.Table;

import java.io.Serializable;

@Table(name="bt_role_menu")
public class RoleMenu implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer roleid;// 角色id
    private Integer menuid;// 菜单id

    //关联字段
//    @TableField(exist = false)
    @NoColumn
    private String pname;//菜单名称
//    @TableField(exist = false)
    @NoColumn
    private Integer pid;//上级id
//    @TableField(exist = false)
    @NoColumn
    private String link;//菜单地址
//    @TableField(exist = false)
    @NoColumn
    private String route;//路由地址
    public int getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public Integer getMenuid() {
        return menuid;
    }

    public void setMenuid(Integer menuid) {
        this.menuid = menuid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getRoute() {
        return route;
    }

    public void setRoute(String route) {
        this.route = route;
    }
}
